package wrapper.homework;

/**
 * @Author Justin Parker
 * @Date 2024/7/12 0012 19:39
 * @Version 1.0
 */
public class Test02 {
    public static void main(String[] args) {
        String path = "http://localhost:8088/myweb/reg?name=zhangsan";

        String[] arr = path.split("\\?");
        System.out.println(arr[0]);
        System.out.println(arr[1]);
    }
}
